[INFO] cloning repository https://github.com/richo/karma-rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/richo/karma-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fricho%2Fkarma-rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fricho%2Fkarma-rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] fab7a503e8c76de2466ec58d85421c6fb09b4b83
[INFO] testing richo/karma-rs against master#d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d for pr-83796
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fricho%2Fkarma-rs" "/workspace/builds/worker-13/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/richo/karma-rs on toolchain d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/richo/karma-rs
[INFO] finished tweaking git repo https://github.com/richo/karma-rs
[INFO] tweaked toml for git repo https://github.com/richo/karma-rs written to /workspace/builds/worker-13/source/Cargo.toml
[INFO] crate git repo https://github.com/richo/karma-rs already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr] error: the lock file /workspace/builds/worker-13/source/Cargo.lock needs to be updated but --locked was passed to prevent this
[INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag.
[INFO] the lockfile is outdated, regenerating it
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 30448aac3a79f86e6ebd653771cd989961f9122b443ff9f8c3bc0ef2ad26003b
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "30448aac3a79f86e6ebd653771cd989961f9122b443ff9f8c3bc0ef2ad26003b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "30448aac3a79f86e6ebd653771cd989961f9122b443ff9f8c3bc0ef2ad26003b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "30448aac3a79f86e6ebd653771cd989961f9122b443ff9f8c3bc0ef2ad26003b", kill_on_drop: false }`
[INFO] [stdout] 30448aac3a79f86e6ebd653771cd989961f9122b443ff9f8c3bc0ef2ad26003b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a6ebfc5a9b2b887e0e57b783bdd3f4cf5c3a69c58b73b53932b6be31f7f1150b
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "a6ebfc5a9b2b887e0e57b783bdd3f4cf5c3a69c58b73b53932b6be31f7f1150b", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v1.0.72
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling futures-core v0.3.14
[INFO] [stderr]    Compiling futures-task v0.3.14
[INFO] [stderr]    Compiling httpdate v1.0.0
[INFO] [stderr]    Compiling rustc-serialize v0.3.24
[INFO] [stderr]    Compiling http-body v0.4.1
[INFO] [stderr]    Compiling tracing-core v0.1.18
[INFO] [stderr]    Compiling futures-channel v0.3.14
[INFO] [stderr]    Compiling futures-util v0.3.14
[INFO] [stderr]    Compiling tokio v1.5.0
[INFO] [stderr]    Compiling tracing v0.1.26
[INFO] [stderr]    Compiling pin-project-internal v1.0.7
[INFO] [stderr]    Compiling pin-project v1.0.7
[INFO] [stderr]    Compiling hyper v0.14.7
[INFO] [stderr]    Compiling karma v0.0.1 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved imports `hyper::Get`, `hyper::Post`
[INFO] [stdout]   --> src/main.rs:17:13
[INFO] [stdout]    |
[INFO] [stdout] 17 | use hyper::{Get, Post};
[INFO] [stdout]    |             ^^^  ^^^^ no `Post` in the root
[INFO] [stdout]    |             |
[INFO] [stdout]    |             no `Get` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `hyper::header::ContentLength`
[INFO] [stdout]   --> src/main.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | use hyper::header::ContentLength;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `ContentLength` in `header`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `uri` in `hyper`
[INFO] [stdout]   --> src/main.rs:20:12
[INFO] [stdout]    |
[INFO] [stdout] 20 | use hyper::uri::RequestUri::AbsolutePath;
[INFO] [stdout]    |            ^^^ could not find `uri` in `hyper`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `hyper::server`
[INFO] [stdout]   --> src/main.rs:19:12
[INFO] [stdout]    |
[INFO] [stdout] 19 | use hyper::server::{Server, Request, Response};
[INFO] [stdout]    |            ^^^^^^ could not find `server` in `hyper`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `hyper::client`, `hyper::method`
[INFO] [stdout]  --> src/outgoing.rs:6:20
[INFO] [stdout]   |
[INFO] [stdout] 6 | use hyper::{header,client,method};
[INFO] [stdout]   |                    ^^^^^^ ^^^^^^
[INFO] [stdout]   |                    |      |
[INFO] [stdout]   |                    |      no `method` in the root
[INFO] [stdout]   |                    |      help: a similar name exists in the module: `Method`
[INFO] [stdout]   |                    no `client` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `ContentType` in `header`
[INFO] [stdout]   --> src/outgoing.rs:39:33
[INFO] [stdout]    |
[INFO] [stdout] 39 |             headers.set(header::ContentType::form_url_encoded());
[INFO] [stdout]    |                                 ^^^^^^^^^^^ could not find `ContentType` in `header`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `serialize` in crate `form_urlencoded`
[INFO] [stdout]   --> src/outgoing.rs:35:45
[INFO] [stdout]    |
[INFO] [stdout] 35 |         let body: String = form_urlencoded::serialize(&form_payload);
[INFO] [stdout]    |                                             ^^^^^^^^^ not found in `form_urlencoded`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `AbsolutePath` in this scope
[INFO] [stdout]   --> src/main.rs:78:9
[INFO] [stdout]    |
[INFO] [stdout] 78 |         AbsolutePath(ref path) => match (&req.method, &path[..]) {
[INFO] [stdout]    |         ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `NotFound` in crate `hyper`
[INFO] [stdout]    --> src/main.rs:113:44
[INFO] [stdout]     |
[INFO] [stdout] 113 |                 *res.status_mut() = hyper::NotFound;
[INFO] [stdout]     |                                            ^^^^^^^^ not found in `hyper`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]     |
[INFO] [stdout] 8   | use std::io::ErrorKind::NotFound;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::os`
[INFO] [stdout]  --> src/main.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::os;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Ipv4Addr`, `SocketAddr`
[INFO] [stdout]   --> src/main.rs:12:16
[INFO] [stdout]    |
[INFO] [stdout] 12 | use std::net::{SocketAddr, Ipv4Addr};
[INFO] [stdout]    |                ^^^^^^^^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rustc_serialize::json`
[INFO] [stdout]   --> src/main.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use rustc_serialize::json;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `OutgoingWebhook`
[INFO] [stdout]   --> src/main.rs:23:31
[INFO] [stdout]    |
[INFO] [stdout] 23 | use outgoing::{SlackEndpoint, OutgoingWebhook};
[INFO] [stdout]    |                               ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported
[INFO] [stdout]   --> src/outgoing.rs:10:10
[INFO] [stdout]    |
[INFO] [stdout] 10 | #[derive(RustcEncodable)]
[INFO] [stdout]    |          ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `hyper`
[INFO] [stdout]  --> src/outgoing.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use hyper;
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rustc_serialize::Encodable`
[INFO] [stdout]  --> src/outgoing.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use rustc_serialize::Encodable;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/main.rs:54:17
[INFO] [stdout]    |
[INFO] [stdout] 54 |     let op: Box<Fn(i32) -> i32> = match payload.command {
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(i32) -> i32`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::Write`
[INFO] [stdout]   --> src/main.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::io::Write;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Read`
[INFO] [stdout]  --> src/outgoing.rs:4:15
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::io::{Read,Write};
[INFO] [stdout]   |               ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Write`
[INFO] [stdout]  --> src/outgoing.rs:4:20
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::io::{Read,Write};
[INFO] [stdout]   |                    ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 9 previous errors; 11 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433, E0531.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `karma`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `Command { std: "docker" "inspect" "a6ebfc5a9b2b887e0e57b783bdd3f4cf5c3a69c58b73b53932b6be31f7f1150b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a6ebfc5a9b2b887e0e57b783bdd3f4cf5c3a69c58b73b53932b6be31f7f1150b", kill_on_drop: false }`
[INFO] [stdout] a6ebfc5a9b2b887e0e57b783bdd3f4cf5c3a69c58b73b53932b6be31f7f1150b
